package com.xuerhua.yxt.view;

import java.util.Date;

import com.xuerhua.yxt.common.enums.WorkApprovalStatus;
import com.xuerhua.yxt.common.enums.WorkApprovalType;
import com.xuerhua.yxt.utils.DateUtil;

public class teachingGoodsApprovalView {

    private Integer id;

    private String depart;

    private String applyer;

    private Integer applyerId;

    private String approver;

    private Integer approverId;

    private String ccList;

    private String approvalType;

    private String approvalStatus;

    private String rejectReason;

    private Date applyTime;

    private Date approvalTime;
    //审批明细
    private String applyItems;
    //备注
    private String remark;

    private String applyTimeText;

    private String approvalTimeText;

    private String approvalTypeText;

    private String approvalStatusText;

    private Integer schoolId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDepart() {
        return depart;
    }

    public void setDepart(String depart) {
        this.depart = depart;
    }

    public String getApplyer() {
        return applyer;
    }

    public void setApplyer(String applyer) {
        this.applyer = applyer;
    }

    public Integer getApplyerId() {
        return applyerId;
    }

    public void setApplyerId(Integer applyerId) {
        this.applyerId = applyerId;
    }

    public String getApprover() {
        return approver;
    }

    public void setApprover(String approver) {
        this.approver = approver;
    }

    public Integer getApproverId() {
        return approverId;
    }

    public void setApproverId(Integer approverId) {
        this.approverId = approverId;
    }

    public String getCcList() {
        return ccList;
    }

    public void setCcList(String ccList) {
        this.ccList = ccList;
    }

    public String getApprovalType() {
        return approvalType;
    }

    public void setApprovalType(String approvalType) {
        this.approvalType = approvalType;
        approvalTypeText = WorkApprovalType.getDesc(approvalType);
    }

    public String getApprovalStatus() {
        return approvalStatus;
    }

    public void setApprovalStatus(String approvalStatus) {
        this.approvalStatus = approvalStatus;
        approvalStatusText = WorkApprovalStatus.getDesc(approvalStatus);
    }

    public String getRejectReason() {
        return rejectReason;
    }

    public void setRejectReason(String rejectReason) {
        this.rejectReason = rejectReason;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
        applyTimeText = DateUtil.getStrFromDate(DateUtil.DEFAULT_DATE_FORMAT, applyTime);

    }

    public Date getApprovalTime() {
        return approvalTime;
    }

    public void setApprovalTime(Date approvalTime) {
        this.approvalTime = approvalTime;
        approvalTimeText = DateUtil.getStrFromDate(DateUtil.DEFAULT_DATE_FORMAT, approvalTime);

    }

    public String getApplyItems() {
        return applyItems;
    }

    public void setApplyItems(String applyItems) {
        this.applyItems = applyItems;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getApplyTimeText() {
        return applyTimeText;
    }

    public void setApplyTimeText(String applyTimeText) {
        this.applyTimeText = applyTimeText;
    }

    public String getApprovalTimeText() {
        return approvalTimeText;
    }

    public void setApprovalTimeText(String approvalTimeText) {
        this.approvalTimeText = approvalTimeText;
    }

    public String getApprovalTypeText() {
        return approvalTypeText;
    }

    public void setApprovalTypeText(String approvalTypeText) {
        this.approvalTypeText = approvalTypeText;
    }

    public String getApprovalStatusText() {
        return approvalStatusText;
    }

    public void setApprovalStatusText(String approvalStatusText) {
        this.approvalStatusText = approvalStatusText;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

}
